package cn.wolfcode.shop.cloud.service;

import cn.wolfcode.shop.cloud.vo.SeckillGoodVO;

import java.util.List;

public interface ISeckillGoodService {

    List<SeckillGoodVO> query();

    SeckillGoodVO find(Long seckillId);

    int decrCount(Long seckillId);

    SeckillGoodVO findByCache(Long seckillId);

    List<SeckillGoodVO> queryByCache();

    void incrStock(Long goodId);

    void syncStock(Long goodId);


  /*  List<SeckillGoodVO> query();

    SeckillGoodVO find(Long seckillId);

    int decrCount(Long seckillId);

    SeckillGoodVO findByCache(Long seckillId);

    List<SeckillGoodVO> queryByCache();

    void incrStock(Long goodId);

    void syncStock(Long goodId);*/
}
